#ifndef __CDP_THREAD_H__
#define __CDP_THREAD_H__

#include "common/Thread.h"

class CDPThread: public Thread
{
    public:
        CDPThread();
        ~CDPThread();

        bool Init();
        void Run();
        void Stop();

    private:
        struct event_base * m_pEventBase;
        struct evconnlistener * m_pListener;
};



#endif //__CDP_THREAD_H__

